<template>
	<view>
		<view v-for="(item,index) in dataObj" style="margin: 10rpx;">
			<CustomTextView :title="item.title" 
				:isTop="item.isTop" 
				:author="item.author" 
				:comment="item.comment"
				:time="item.time">
			</CustomTextView>
		</view>
	</view>
</template>

<script>
	import CustomTextView from "../../../components/cardText.vue"
	export default {
		components: {
			CustomTextView
		},
		data() {
			return {
				dataObj: [{
						title: "第一观  察｜锚定目标 团结奋进",
						isTop: false,
						author: "新华社",
						comment: "119w",
						time: "2025.10.27"
					},
					{
						title: "故宫博物院百年守护展：一脉文渊，守望相传",
						isTop: false,
						author: "新华社",
						comment: "147w",
						time: "2025.10.27"
					},
					{
						title: "推动战略合作伙伴关系不断向前发展——韩国各界对习近平主席国事访问充满热切期待",
						isTop: false,
						author: "新华社",
						comment: "121w",
						time: "2025.10.27"
					},
					{
						title: "【学习贯彻党的二十届四中全会精神】为基本实现社会主义现代化而接续奋斗",
						isTop: true,
						author: "央视网",
						comment: "666w",
						time: "2025.10.27"
					},
					{
						title: "十五运会火炬传递11月2日举行 路线公布",
						isTop: true,
						author: "央视新闻",
						comment: "226w",
						time: "2025.10.27"
					},
				]
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>